home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
sgtty.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-17
|
252b
|
22 lines
/*
* Written by Eric R. Smith for the Atari ST
*/
#include <ioctl.h>
int
stty(fd, _tty)
int fd;
struct sgttyb *_tty;
{
return ioctl(fd, TIOCSETP, _tty);
}
int
gtty(fd, _tty)
int fd;
struct sgttyb *_tty;
{
return ioctl(fd, TIOCGETP, _tty);
}